package com.dcd.service;

import com.dcd.pojo.Car_level;
import com.dcd.service.impl.Car_levelServiceImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

@Component
@FeignClient(name = "donchedi-provider9091", fallback = Car_levelServiceImpl.class, contextId = "carLevel")
public interface Car_levelService {

    /**
     * 查询全部级别
     *xx
     * @return
     */
    @RequestMapping("/select_all_level")
    List<Car_level> select_all_level();
}
